package ft.app.gtig.entity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import com.haulmont.cuba.core.entity.StandardEntity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Lob;

@Table(name = "GTIG_PERSON")
@Entity(name = "gtig$Person")
public class Person extends StandardEntity {
    private static final long serialVersionUID = -6366567222868115485L;

    @Column(name = "NAME", nullable = false, length = 50)
    protected String name;

    @Column(name = "TITLE", nullable = false, length = 100)
    protected String title;

    @Column(name = "COMPANY", nullable = false, length = 100)
    protected String company;

    @Column(name = "IMAGE", length = 333)
    protected String image;

    @Column(name = "PROFILE", length = 8000)
    protected String profile;


    @Column(name = "SORT")
    protected Integer sort;

    @Lob
    @Column(name = "VIDEO")
    protected String video;

    @Lob
    @Column(name = "PDF")
    protected String pdf;

    @Column(name = "COVER", nullable = false, length = 333)
    protected String cover;

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getCover() {
        return cover;
    }



    public void setVideo(String video) {
        this.video = video;
    }

    public String getVideo() {
        return video;
    }

    public void setPdf(String pdf) {
        this.pdf = pdf;
    }

    public String getPdf() {
        return pdf;
    }


    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }


    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompany() {
        return company;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getProfile() {
        return profile;
    }


}